# 异常捕获
import traceback
try:
    2/0
except Exception as e:
    traceback.print_exc()
else:
    print('如果try没有异常执行我!')
finally:
    print("无论有没有异常，我都会执行！")